package com.jiai.cloud.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author Yanghu
 * @since 2017-05-24
 */
@TableName("t_order")
public class TOrder extends Model<TOrder> {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
	private String orderNo;
    /**
     * 支付退单编号
     */
	private String apleId;
    /**
     * 收件人姓名
     */
	private String username;
    /**
     * 收件人地址
     */
	private String orderAddress;
    /**
     * 收件人号码
     */
	private Integer orderPhone;
    /**
     * 订单时间
     */
	private Date orderTime;
    /**
     * 订单金额
     */
	private Integer money;
    /**
     * 订单数量
     */
	private Integer state;


	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getApleId() {
		return apleId;
	}

	public void setApleId(String apleId) {
		this.apleId = apleId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getOrderAddress() {
		return orderAddress;
	}

	public void setOrderAddress(String orderAddress) {
		this.orderAddress = orderAddress;
	}

	public Integer getOrderPhone() {
		return orderPhone;
	}

	public void setOrderPhone(Integer orderPhone) {
		this.orderPhone = orderPhone;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public Integer getMoney() {
		return money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	protected Serializable pkVal() {
		return this.orderNo;
	}

}
